package com.esri.core.ogc;

/* loaded from: classes.dex */
public class OwsDescription extends OwsItem {
    private String a = "";
    private String b = "";

    public String getTitle() {
        return this.a;
    }

    public String getAbstract() {
        return this.b;
    }

    @Override // com.esri.core.ogc.OwsItem
    public void endElement(String str) {
        String currentTagName = getCurrentTagName();
        if (currentTagName.equals("Title")) {
            a(this.mData.toString());
        } else if (currentTagName.equals("Abstract")) {
            b(this.mData.toString());
        }
        super.endElement(str);
    }

    private void a(String str) {
        if (this.mStack.size() != 1 || str == null || str.length() <= 0) {
            return;
        }
        this.a = str;
    }

    private void b(String str) {
        if (this.mStack.size() != 1 || str == null || str.length() <= 0) {
            return;
        }
        this.b = str;
    }
}
